import request from '@/utils/request'

export function getFirstCategorys(){
	return request({
		url:'/course/category/getFirstCategorys'
	})
}

export function getSecondCategorys(data){
	return request({
		url:'/course/category/getSecondCategorys',
        params:data
	})
}

export function searchCourse(data){
	return request({
		url:'/course/search',
        method:'POST',
        data
	})
}